﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    /// <summary>
    /// 图书订单
    /// </summary>
    public interface IbookOrderService
    {
        Task<int> AddbookOrderAsync(int infoId,int number,decimal price);
        Task<int> EditbookOrderAsync(int id, int infoId, int number, decimal price);
        Task<int> DeletebookOrderAsync(int id);
        Task<List<BookOrderDto>> QuerybookOrderAllAsync();
        Task<BookOrderDto> QuerybookOrderByIdAsync(int id);
        //Task<List<JobDto>> GetbookOrderByNameAsync(string title);
    }
}
